package com.newtouch.bxzs.enterprise.service;

import com.newtouch.bxzs.common.base.response.BaseResponse;
import com.newtouch.bxzs.enterprise.model.vo.ActivityAcceptionVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * 营销活动外部接口调用类
 *
 * <p>
 * <b>History:</b>
 * <table border="1">
 * <tr>
 * <th>Date</th>
 * <th>Operator</th>
 * <th>Memo</th>
 * </tr>
 * <tr>
 * <td>2021年2月9日</td>
 * <td>Amour</td>
 * <td>Create</td>
 * </tr>
 * </table>
 * 
 * @author Amour
 * 
 * @version 1.0.0
 * @since 1.0.0
 */
@Component
@FeignClient(url = "${conference.url}", name = "activity")
public interface ActivityClient {

	/**
	 * 调用接口推送营销活动信息
	 * 
	 * @param activityAcception
	 * @return
	 */
	@PostMapping(value = "/activityController/acceptionActivity")
	BaseResponse<Integer> acceptionActivity(@RequestBody ActivityAcceptionVO activityAcception);

}
